package cn.bird.storm.sysauth.model.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum UserType {
    ORG("1", "企业"),
    PERSON("2", "个人"),
    ;
    UserType(String code, String info) {
        this.code = code;
        this.info = info;
    }
    /**
     * 编码
     */
    @JsonValue
    private final String code;
    /**
     * 介绍
     */
    private final String info;
}
